<html>
<body>
<p>Are we now in which month?</p>
<button onclick="myFunction()">click</button>
<p id="demo"></p>

<script>
	function myFunction()
	{
		var x="";
		var mth=new Date().getMonth();
		switch(mth)
		{
			case 0:
			x="January";
			break;
			
			case 1:
			x="February";
			break;
			
			case 2:
			x="March";
			break;
			
			case 3:
			x="April";
			break;
			
			case 4:
			x="May";
			break;
			
			case 5:
			x="June";
			break;
			
			case 6:
			x="July";
			break;
			
			case 7:
			x="August";
			break;
			
			case 8:
			x="Sept";
			break;
			
			case 9:
			x="October";
			break;
			
			case 10:
			x="November";
			break;
			
			default:
			x="December";
			break;					
		
		}			
		document.getElementById("demo").innerHTML=x;
		
	}
</script>
</body>
</html>